﻿<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE HTML>
<html lang="zh-cn">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="shortcut icon" href="/resources/images/huishoucat.ico" />
<title>管理员登录页</title>

<link href="/resources/plugins/bootstrap-3.3.0/css/bootstrap.min.css"
	rel="stylesheet" />
<link
	href="/resources/plugins/material-design-iconic-font-2.2.0/css/material-design-iconic-font.min.css"
	rel="stylesheet" />
<link href="/resources/plugins/waves-0.7.5/waves.min.css"
	rel="stylesheet" />
<link href="/resources/plugins/checkbix/css/checkbix.min.css"
	rel="stylesheet" />
<link href="/resources/css/login.css" rel="stylesheet" />
</head>
<body>
	<div id="login-window">
		<form id="manager-login-form" action="/login" method="post">
			<div class="input-group m-b-20">
				<span class="input-group-addon"><i class="zmdi zmdi-account"></i></span>
				<div class="fg-line">
					<input id="username" type="text" class="form-control"
						name="telephone" placeholder="帐号" required autofocus>
				</div>
			</div>
			<div class="input-group m-b-20">
				<span class="input-group-addon"><i class="zmdi zmdi-male"></i></span>
				<div class="fg-line">
					<input id="password" type="password" class="form-control"
						name="password" placeholder="密码" required>
				</div>
			</div>
			<div class="clearfix"></div>
			<div class="checkbox">
				<input id="rememberMe" type="checkbox" class="checkbix"
					data-text="自动登录" name="rememberMe">
			</div>
			<a id="login-bt" href="javascript:;"
				class="waves-effect waves-button waves-float"><i
				class="zmdi zmdi-arrow-forward"></i></a>
		</form>
	</div>
	<script src="/resources/plugins/jquery.1.12.4.min.js"></script>
	<script src="/resources/plugins/bootstrap-3.3.0/js/bootstrap.min.js"></script>
	<script src="/resources/plugins/waves-0.7.5/waves.min.js"></script>
	<script src="/resources/plugins/checkbix/js/checkbix.min.js"></script>
	<script src="/resources/js/login.js"></script>
	<script type="text/javascript">
	$(function(){
		$("#login-bt").click(function(){
			 if($('#username').val()==''||$('#password').val()==''){
                 return;
             }
			$("#manager-login-form").submit();
		});
	});
</script>
</body>
</html>